.class public final Les/ta0;
.super Ljava/lang/Object;
.source "WebvttParser.java"

# interfaces
.implements Les/ba0;


# instance fields
.field private final a:Les/sa0;

.field private final b:Lcom/google/android/exoplayer/util/h;

.field private final c:Les/ra0$b;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Les/sa0;

    invoke-direct {v0}, Les/sa0;-><init>()V

    iput-object v0, p0, Les/ta0;->a:Les/sa0;

    .line 3
    new-instance v0, Lcom/google/android/exoplayer/util/h;

    invoke-direct {v0}, Lcom/google/android/exoplayer/util/h;-><init>()V

    iput-object v0, p0, Les/ta0;->b:Lcom/google/android/exoplayer/util/h;

    .line 4
    new-instance v0, Les/ra0$b;

    invoke-direct {v0}, Les/ra0$b;-><init>()V

    iput-object v0, p0, Les/ta0;->c:Les/ra0$b;

    return-void
.end method


# virtual methods
.method public bridge synthetic a([BII)Les/aa0;
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/android/exoplayer/ParserException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0, p1, p2, p3}, Les/ta0;->a([BII)Les/va0;

    move-result-object p1

    return-object p1
.end method

.method public final a([BII)Les/va0;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/android/exoplayer/ParserException;
        }
    .end annotation

    .line 3
    iget-object v0, p0, Les/ta0;->b:Lcom/google/android/exoplayer/util/h;

    add-int/2addr p3, p2

    invoke-virtual {v0, p1, p3}, Lcom/google/android/exoplayer/util/h;->a([BI)V

    .line 4
    iget-object p1, p0, Les/ta0;->b:Lcom/google/android/exoplayer/util/h;

    invoke-virtual {p1, p2}, Lcom/google/android/exoplayer/util/h;->a(I)V

    .line 5
    iget-object p1, p0, Les/ta0;->c:Les/ra0$b;

    invoke-virtual {p1}, Les/ra0$b;->b()V

    .line 6
    iget-object p1, p0, Les/ta0;->b:Lcom/google/android/exoplayer/util/h;

    invoke-static {p1}, Les/ua0;->a(Lcom/google/android/exoplayer/util/h;)V

    .line 7
    :goto_0
    iget-object p1, p0, Les/ta0;->b:Lcom/google/android/exoplayer/util/h;

    invoke-virtual {p1}, Lcom/google/android/exoplayer/util/h;->d()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_0

    goto :goto_0

    .line 8
    :cond_0
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 9
    :goto_1
    iget-object p2, p0, Les/ta0;->a:Les/sa0;

    iget-object p3, p0, Les/ta0;->b:Lcom/google/android/exoplayer/util/h;

    iget-object v0, p0, Les/ta0;->c:Les/ra0$b;

    invoke-virtual {p2, p3, v0}, Les/sa0;->a(Lcom/google/android/exoplayer/util/h;Les/ra0$b;)Z

    move-result p2

    if-eqz p2, :cond_1

    .line 10
    iget-object p2, p0, Les/ta0;->c:Les/ra0$b;

    invoke-virtual {p2}, Les/ra0$b;->a()Les/ra0;

    move-result-object p2

    invoke-virtual {p1, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 11
    iget-object p2, p0, Les/ta0;->c:Les/ra0$b;

    invoke-virtual {p2}, Les/ra0$b;->b()V

    goto :goto_1

    .line 12
    :cond_1
    new-instance p2, Les/va0;

    invoke-direct {p2, p1}, Les/va0;-><init>(Ljava/util/List;)V

    return-object p2
.end method

.method public final a(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "text/vtt"

    .line 2
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method
